package net.lijingye.education.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by LijingYe on 2016/4/4.
 */
@Entity
@Table(name = "topic_file")
public class TopicFile implements Serializable {
    @Id
    @Column(name = "topicId")
    private int topicId;

    @Id
    @Column(name = "path")
    private String path;

    public TopicFile() {
    }

    public TopicFile(int topicId, String path) {
        this.topicId = topicId;
        this.path = path;
    }

    public int getTopicId() {
        return topicId;
    }

    public void setTopicId(int topicId) {
        this.topicId = topicId;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }


}
